CREATE TABLE [dbo].[TTZONA]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_ZONA] [dbo].[TD_VC_003] NOT NULL,
[NO_ZONA] [dbo].[TD_VC_050] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTZONA__CO_USUA___3D3EEF98] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTZONA__FE_USUA___3E3313D1] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTZONA__CO_USUA___3F27380A] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTZONA__FE_USUA___401B5C43] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTZONA] ADD CONSTRAINT [PK__TTZONA__F56C9017603E1312] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_ZONA]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTZONA] ADD CONSTRAINT [FK__TTZONA__CO_EMPR__04115F34] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
